package com.sky.mapper.common;

import com.sky.dto.SetmealDTO;
import com.sky.pojo.SetmealDish;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SetmealDishMapper {

    /**
     * 批量插入套餐和菜品的关联关系
     * @param setmealDishes
     * @return
     */

    Boolean addSetmealDish(List<SetmealDish> setmealDishes);

   /**
     * 根据id删除套餐和菜品的关联关系
     * @param ids
     * @return
     */
    Boolean deleteByIds(List<Long> ids);

}
